# helm upgrade --install --name kubesphere ks-test/ks-installer --namespace=kubesphere-system --create-namespace


# helm install kubesphere ks-test/ks-installer --namespace=kubesphere-system --create-namespace


export kubesphere_VERSION=$(wget -qO- -t1 -T2 "https://api.github.com/repos//kubesphere/kubesphere/releases/latest" | jq -r '.tag_name')

kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/${kubesphere_VERSION}/kubesphere-installer.yaml

kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/${kubesphere_VERSION}/cluster-configuration.yaml
